package com.lanmon.service.auth;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import com.lanmon.base.HibernateService;
import com.lanmon.dao.auth.OrganizationDao;
import com.lanmon.entity.Organization;

@Service
@Component("organizationService")
public class OrganizationService extends HibernateService<Organization, Integer> {
	private OrganizationDao organizationDao;

	public OrganizationDao getOrganizationDao() {
		return organizationDao;
	}

	@Autowired
	public void setOrganizationDao(OrganizationDao organizationDao) {
		super.setHibernateDao(organizationDao);
		this.organizationDao = organizationDao;
	}
}
